<template>
  <div>
    <van-button type="primary">点击</van-button>
    <van-button type="warning">点击</van-button>
    <van-rate v-model="value" :size="25" color="#ffd21e" void-icon="star" void-color="#eee" />
    <div class="box"></div>
  </div>
</template>

<script>
export default {
  name: 'HomeView',
  data(){
    return{
      value:3
    }
  }
}
</script>

<style scoped>
.box{
  width:300px;
  height:300px;
  background-color: pink;
}
</style>